<?php

class UserController extends Controller
{
	public function index()
	{
      // echo '我是用户首页';
      $model = new Model('s51');
      $data = $model->select();
      $this->assign('list',$data);
      $this->assign('title','用户首页');
      $this->display('User/index.html');
	}

	public function add()
	{
		echo "我是添加用户";
	}
}